LIBS += lua

lua-lib = liblua.a
lua.config =

define lua.build
cd $(DST); make linux CC=$(CC) MYCFLAGS="$(CPPFLAGS) $(CFLAGS)" MYLDFLAGS="$(LDFLAGS)"
endef

define lua.install
cd $(DST); make install INSTALL_TOP=$(PREFIX)
endef

define lua.uninstall
cd $(DST); make uninstall INSTALL_TOP=$(PREFIX)
endef

lua: readline ncurses
